package com.lht.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 资产信息中的房产信息实体
 *
 * @author ZhengZhanWu
 * @date 2019-12-29 20:23:30
 */
@Data
@NoArgsConstructor
@TableName("lst_assets_house_info")
public class AssetsHouseInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

            /**
         * 主键id
         */
        @TableId
        private Long id;
                /**
         * 创建时间
         */
        private Date createAt;
                /**
         * 更新时间
         */
        private Date updateAt;
                /**
         * 是否删除   0:未删除(默认)   1:删除
         */
        private String isDelete;
                /**
         * 申请编号
         */
        private String applyNo;
                /**
         * 推销员用户id
         */
        private Long promoUserId;
                /**
         * 房产地址，省编号
         */
        private String addressProvinceCode;
                /**
         * 房产地址，市编号
         */
        private String addressCityCode;
                /**
         * 房产地址，区编号
         */
        private String addressAreaCode;
                /**
         * 房产地址，详细地址
         */
        private String addressDetails;
                /**
         * 共有人
         */
        private String owner;
                /**
         * 购房方式    0:一次性    1:按揭
         */
        private String buyType;
                /**
         * 贷款总额,单位元
         */
        private BigDecimal totalLoanAmount;
                /**
         * 月供，单位元
         */
        private BigDecimal monthlySupply;
                /**
         * 贷款银行id
         */
        private Long loanBankId;
                /**
         * 贷款年限，单位年
         */
        private Integer loanYears;
                /**
         * 购买总金额
         */
        private BigDecimal buyTotalAmount;
                /**
         * 建筑面积，单位平方米
         */
        private BigDecimal buildArea;
                /**
         * 房产总数
         */
        private Integer totalHouse;
    
            public static final String ID = "id";
                public static final String CREATE_AT = "create_at";
                public static final String UPDATE_AT = "update_at";
                    public static final String APPLY_NO = "apply_no";
                public static final String PROMO_USER_ID = "promo_user_id";
                public static final String ADDRESS_PROVINCE_CODE = "address_province_code";
                public static final String ADDRESS_CITY_CODE = "address_city_code";
                public static final String ADDRESS_AREA_CODE = "address_area_code";
                public static final String ADDRESS_DETAILS = "address_details";
                public static final String OWNER = "owner";
                public static final String BUY_TYPE = "buy_type";
                public static final String TOTAL_LOAN_AMOUNT = "total_loan_amount";
                public static final String MONTHLY_SUPPLY = "monthly_supply";
                public static final String LOAN_BANK_ID = "loan_bank_id";
                public static final String LOAN_YEARS = "loan_years";
                public static final String BUY_TOTAL_AMOUNT = "buy_total_amount";
                public static final String BUILD_AREA = "build_area";
                public static final String TOTAL_HOUSE = "total_house";
    }
